package com.adee.gulimall.product.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenfeignConfig {
    // 定义openfeign远程调用的日志信息
    @Bean
    public Logger.Level openfeignLoggerLevel() {
        return Logger.Level.HEADERS;
    }

}
